//
//  APIBaseManager+Interceptor.h
//  BaoZhangWang
//
//  Created by yyy on 2016/12/13.
//  Copyright © 2016年 yyy. All rights reserved.
//

#import "APIBaseManager.h"

/**
 拦截器方法
 */
@class URLResponse;

@interface APIBaseManager (Interceptor)

- (NSMutableDictionary *)base_APIReformParams:(id)params __attribute__((objc_requires_super));

- (BOOL)base_shouldCallAPIWithParams:(id)params;
- (void)base_afterCallAPIWithParams:(id)params;

- (BOOL)base_beforePerformCallBackWithReponse:(URLResponse *)response __attribute__((objc_requires_super));
- (void)base_afterPerformCallBackWithResponse:(URLResponse *)response __attribute__((objc_requires_super));
- (BOOL)base_beforePerformSuccessWithResponse:(URLResponse *)response __attribute__((objc_requires_super));
- (void)base_afterPerformSuccessWithResponse:(URLResponse *)response __attribute__((objc_requires_super));
- (BOOL)base_beforePerformFailWithResponse:(URLResponse *)response __attribute__((objc_requires_super));
- (void)base_afterPerformFailWithResponse:(URLResponse *)response __attribute__((objc_requires_super));

@end
